package com.huangdada.hfweather.service;

import com.huangdada.hfweather.bean.City;
import com.huangdada.hfweather.bean.SJCity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Description: 城市的业务逻辑
 * @PROJECT_NAME: hf-weather
 * @CLASS_NAME:
 * @Author: huanglibin
 * @Date: 2020-03-31 20:43
 * @Version: 1.0
 */
public interface CityService {

    /**
     * 导入城市列表
     * @param name
     * @param file
     */
    public void importCityAll(String name, MultipartFile file);

    /**
     * 获取所有城市列表
     * @return
     */
    List<City> getCityList();

    Integer addSJCityInfo(SJCity city);

    List<SJCity> getSJCityList();

}
